package org.spring.flower.resume.feign;

import org.spring.flower.resume.entity.Info;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient(name = "resume-service")
public interface RemoteInfoService {

    @GetMapping("/resume/info/list")
    List<Info> list();
}
